<?php
namespace api\know\controller;

use cmf\controller\RestUserBaseController;
use api\know\model\UserLastRecordModel;
use api\know\model\GrammarModel;
use api\know\model\NewWordModel;
use api\know\model\SentenceModel;
use api\know\model\TeachingMaterialContentModel;

class UserController extends RestUserBaseController
{
    public function lastest()
    {
        // $uid = $this->getUserId('uid');
        $uid = $this->request->param('uid', 0);
        
        $w = ['uid' => $uid];
        $rows = UserLastRecordModel::where($w)->select();


        $this->success('请求成功!', $d);
    }
}
